<template>
    <div class="see_txt-wrapper">
  <span>
      <button v-if="txt" type="button" class="ui tiny button" @click.stop.prevent="toSee">{{col.show_txt}}</button>
    </span>
    </div>
</template>
<script>
    import tool from 'src/util/tool';
    import util from '_util/index';
    import logic from '_logic';
    import _ from 'lodash';


    export default {
        data() {
            return {}
        },
        watch: {},
        methods: {
            toSee(){
                tool.cl('txt:', this.txt);
//                util.showMsg(this, {type:'info',auto_hide:false}, this.txt);
                util.showMypop(this, 'info', this.txt.replace(/\n/g, '<br>'), {no_hide: true});
            }
        },
        props: ['col'],
        computed: {
            txt(){
                let txt = this.col.val;
                return txt;
            }
        },
        created() {
        }
    };
</script>
<style rel="stylesheet/less" scoped lang="less">
    @import "../../../common/style/mixin";

    .see_pic-wrapper {
        .mya {
            .mya();
        }
    }
</style>
